package com.xbongbong.workflow.model;


import com.xbongbong.workflow.domain.entity.WorkflowBackupDataEntity;

import java.util.List;
import java.util.Map;


/**
 */
public interface WorkflowBackupDataModel {
   Long insert(WorkflowBackupDataEntity entity);

   void insertBatch(List<WorkflowBackupDataEntity> list);

   List<WorkflowBackupDataEntity> findEntities(Map<String, Object> param);

   Integer getEntityCount(Map<String, Object> param);

   void update(WorkflowBackupDataEntity entity);

   WorkflowBackupDataEntity getByKey(Long key, String corpid);

    WorkflowBackupDataEntity getByTaskId(Long taskId, String corpid);

    void deleteByTaskIds(String corpid, List<Long> taskIds);
}
